﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RedDragon.Common.Domain.Approves
{
    /// <summary>
    /// 审批流程设置表
    /// </summary>
    [SugarTable("ProcessFlow")]
    public class ProcessFlow
    {
        /// <summary>
        /// 主键id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//IsPrimaryKey 主键
        public int Workid { get; set; }
        /// <summary>
        /// 审批流程
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)", IsNullable = true)]//设置长度
        public string ExamineName { get; set; }
        /// <summary>
        /// 审批级别
        /// </summary>
        public int ExamineType { get; set; }
        /// <summary>
        /// 审批人集合
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)", IsNullable = true)]//设置长度
        public string ExamineNameList { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public int IsYes { get; set; }
        /// <summary>
        /// 审批前操作
        /// </summary>
        [SugarColumn(ColumnDataType ="Nvarchar(100)",IsNullable =true)]
        public string ExamineControlsLast { get; set; }
        /// <summary>
        /// 审批后操作
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(100)", IsNullable = true)]
        public string ExamineControlsNext { get; set; }
    }
}
